package com.blb.community.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.community.entity.ZyCommunityInteraction;
import com.blb.community.entity.vo.CommunityInteractionVO;
import com.blb.community.entity.vo.ZyCommunityInteractionVo;

import java.util.List;

/**
 * <p>
 * 社区互动表 服务类
 * </p>
 *
 * @author 帅帅
 * @since 2022-07-02
 */
public interface IZyCommunityInteractionService extends IService<ZyCommunityInteraction> {
    //分页查
    IPage<ZyCommunityInteractionVo> getAllCommentsPage(Long current, Long size);

    //查所有
    List<ZyCommunityInteractionVo> getAllComments();

    IPage<CommunityInteractionVO> getInteractionPage(CommunityInteractionVO communityInteractionVO, IPage<CommunityInteractionVO> page);

    void delInteraction(Long id);

}
